'''
6.1.5 将图片写入Word文档
'''

from docx import Document
from docx.shared import Inches

doc = Document()

doc.add_picture('1.png', height=Inches(1.25))
doc.save('new2.docx')